package com.example.yunJie.digitalSentry.service;


import com.example.yunJie.digitalSentry.entity.MarketEntity;

import java.io.Serializable;
import java.util.List;


public interface MarketService {
    int insert(MarketEntity marketEntity);


    int update(MarketEntity marketEntity);


    int deleteById(Serializable id);


    int deleteIdList(List<Integer> idList);


    MarketEntity findId(String id);


    List<MarketEntity> findAll();

    //根据市场名查找市场id
    MarketEntity findIdByMarketName(String marketName);
}
